package com.bittech.base;

/**
 * @Author: yuisama
 * @Date: 2019-07-15 13:35
 * @Description:Java中方法值传递的例子
 */
public class MethodDemo {
    public static void main(String[] args) {
        String str = "6";
        change(str);
        System.out.println(str);
    }
    public static void change(String str) {
        str += "10";
    }
}
